import Mock from 'mockjs';

let item = [{
		key: "/hylx/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"hylxid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"jlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"jcover":"https://img95.699pic.com/photo/50091/3467.jpg_wh860.jpg",
					"jlname": "@cword(6,9)",
					"amount":999,
					"zq":30,
					"flg":"0",
					"stu":"1",

				}]
			});
		}
	},
	{
		key: "/hylx/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|12": [{
						"hylxid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"hlname":"vip会员1",
						"jlid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"cover":"https://img95.699pic.com/photo/50091/3467.jpg_wh860.jpg",
						"jcover":"https://img95.699pic.com/photo/50091/3467.jpg_wh860.jpg",
						"jlname": "@cname()",
						"amount":999000,
						"zq":30,
						"flg|1":[true,false],
						"stu|1":[true,false],
						"cs":21,
					}]
				}
			});
		}
	},
	{
		key: "/hylx/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					"ahylx": {
						"hylxid":"1001",
						"hlname":"vip1",
						"amount":999000,
						"zq":30,
						"flg|1":[true,false],
						"stu|1":[true,false],
						"cs":21,
					},
					"ajiaolian":{
						"cover":"https://img95.699pic.com/photo/50166/5134.jpg_wh860.jpg",
						"jlid":"1101",
						"jlname":"@cname()",
						"tel":"130239230322",
					},
					"ahyjl":[{
						"khnc":"珍珍",
						"cd":"2021-04-21",
						
					},
					{
						"khnc":"爱爱",
						"cd":"2021-04-11",
						
					},
					{
						"khnc":"莲莲",
						"cd":"2022-03-21",
						
					},
					],
						
					
				}
			})
		}
	},

	{
		key: "/hylx/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/hylx/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/hylx/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;